				<div class="banner_footer_wp">
                	<?php foreach($banners as $banner):?>
                	<div class="banner_footer">
                    	
                        <?php 
                        $box_image	= '<img class="responsiveImage" src="'.base_url('uploads/'.$banner->image).'" />';
                        if($banner->link != '')
                        {
                            $target	= false;
                            if($banner->new_window)
                            {
                                $target = 'target="_blank"';
                            }
                            echo '<a href="'.$banner->link.'" '.$target.' >'.$box_image.'</a>';
                        }
                        else
                        {
                            echo $box_image;
                        }
						?>
		
                    </div>
                    <?php endforeach;?>
                    
                </div>